﻿#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 修改人：
 * 时间：
 * 修改说明：
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace seejee_Backendium.Core.Models
{
    public class BIQuanXianDto
    {
        public string cOperatorName { get; set; }
        public string iCusBIPermissions { get; set; }

    }

    public class BIQuanXianAllDto
    {
        public string cOperatorName { get; set; }
        public string iCusBIPermissions { get; set; }

        public string iCusDBPermissions { get; set; }
        public int iOperatorPermissions { get; set; }
        public string RoleName => iOperatorPermissions == 1 ? "操作员" : iOperatorPermissions == 0 ? "系统管理员" : "未知";

    }
}
